package com.sky.mapper;

import com.sky.anotation.AutoFill;
import com.sky.entity.DishFlavor;
import com.sky.enumeration.OperationType;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author 2230823078_淡嘉浩
 * @Date 2025/3/7 下午11:22
 * Please don't copy!
 */
public interface DishFlavorsMapper {


    void saveBatch(List<DishFlavor> flavors);


    void deleteByDishId(Long[] ids);


    @Select("select * from dish_flavor where dish_id = #{id}")
    List<DishFlavor> getByDishId(Long id);
}
